package cn.stylefeng.guns.modular.tool.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import cn.stylefeng.guns.modular.tool.entity.ToolWave;
import cn.stylefeng.guns.modular.tool.model.params.ToolWaveParam;
import cn.stylefeng.guns.modular.tool.model.result.ToolWaveResult;

/**
 * 统计波次 Mapper 接口
 */
public interface ToolWaveMapper extends BaseMapper<ToolWave> {

    /**
     * 获取列表
     *
     * @author 
     * @Date 2022-03-25
     */
    List<ToolWaveResult> customList(@Param("paramCondition") ToolWaveParam paramCondition);

    /**
     * 获取map列表
     *
     * @author 
     * @Date 2022-03-25
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") ToolWaveParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author 
     * @Date 2022-03-25
     */
    Page<ToolWaveResult> customPageList(@Param("page") Page page, @Param("paramCondition") ToolWaveParam paramCondition, @Param("condition") String condition, @Param("operateId")Long operateId);

    /**
     * 获取分页map列表
     *
     * @author 
     * @Date 2022-03-25
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") ToolWaveParam paramCondition);

	ToolWaveResult findBySpec(@Param("paramCondition")ToolWaveParam param,@Param("operateId")Long operateId);

}
